package org.shijiagen.clients;

import org.shijiagen.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "cart-service",url = "http://localhost:3009")
public interface CartClient {
    @PostMapping("cart/remove/check")
    R removeCheck(@RequestBody Integer productId);
}
